<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:ace="http://www.icefaces.org/icefaces/components">

<h:head>
    <title>JSF 2.0 Hello World</title>
</h:head>
<h:body>
    <h3>JSF 2.0 Hello World Example - hello.xhtml</h3>
    <h:form>
<ui:component>
        <div style="margin: 20%; background: #fd0;  padding: 10px; width: 300px">
            <div style=" border: 3px solid #666;  padding: 10px; margin: 10px;">

                <h:panelGrid>
                    <h:outputText value="введите логин"/>
                    <h:inputText value="#{indexBean.login}" title=""/>
                    <h:outputText value="введите parol"/>
                    <h:inputSecret value="#{indexBean.password}" title=""/>
                    <h:commandButton value="vvod" action="#{indexBean.authorization}"/>
                </h:panelGrid>

            </div>
        </div>

</ui:component>
    </h:form>
</h:body>
</html>